package JAVA_SV_XML_INVALID;

import jakarta.xml.bind.*;
import java.io.File;

public class Vulnerable {

        class Person {}

        public void test() {
            File xmlFile = new File("input.xml");
            try {
                JAXBContext jaxbContext = JAXBContext.newInstance(Person.class);
                Unmarshaller jaxbUnmarshaller = jaxbContext.createUnmarshaller();
                Object obj = jaxbUnmarshaller.unmarshal(xmlFile);
            } catch (JAXBException e) {
                e.printStackTrace();
            }
        }
}
